|
accel23 2.2.0
|
Accel 23 Click example. More...
Functions | |
| void | application_init (void) |
| void | application_task (void) |
| int | main (void) |
Accel 23 Click example.
This example demonstrates the use of the Accel 23 Click board by reading acceleration and temperature data from the onboard 3-axis accelerometer. The measured values are displayed via the UART terminal.
The demo application is composed of two sections :
Initializes the logger and the Click board and applies the default configuration.
Reads the acceleration values in X, Y, and Z axis as well as the internal temperature, then displays the results on the UART terminal.
| void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
| void application_task | ( | void | ) |
| int main | ( | void | ) |